package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.StockCheckProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 仓库模块-盘点单关联商品 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
public interface StockCheckProductMapper extends BaseMapper<StockCheckProduct> {

    StockCheckProduct selectStockCheckProduct(@Param("checkId")Long checkId,@Param("productSn") String productSn);
    List<StockCheckProduct> selectProduct(@Param("checkId") Long checkId);
    void updateSpecificDetails(@Param("checkProduct")Long checkProduct,@Param("checkProduct")int CheckQuantity,@Param("losses")int losses);
}
